package com.rtx.wms.std.storer.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rtx.wms.std.common.bean.Storer;

public interface StorerService extends IService<Storer> {

	public Storer queryByStorerByDatasource(String datasourcekey,String storerkey);
	
	public List<Storer> queryByStorerListByDatasource(String datasourcekey,Storer storer);
	
	/**
	 * 获取待分发的sku
	 * @param datasourcekey
	 * @return
	 */
	public List<Storer> queryDistributeStorer(String datasourcekey);
	
	/**
	 * 更新状态
	 * @param datasourcekey
	 * @param msg
	 * @param storer
	 */
	public void updDistributeStorerStatus(String datasourcekey,String msg,Storer storer);
	
	public void addAndUpdataStorer(String datasource, Storer storer);
}
